package org.apache.httpclient;

import java.io.IOException;

import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.fluent.Request;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.impl.conn.PoolingClientConnectionManager;

public class Fluent
{

    
    public static void main(String[] args) throws ClientProtocolException, IOException
    {
        System.out.println(Request.Get("http://www.baidu.com").connectTimeout(1000).execute().returnContent().asString());
    }
}
